<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Amaze UI Admin index Examples</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <script src="http://cdn.bootcss.com/echarts/3.3.2/echarts.min.js"></script>
    <link rel="stylesheet" th:href="@{/css/amazeui.min.css}" />
    <link rel="stylesheet" th:href="@{/css/amazeui.datatables.min.css}" />
    <link rel="stylesheet" th:href="@{/css/app.css}">
    <script th:src="@{/js/jquery.min.js}"></script>

    <base th:href="${#request.getContextPath()}+'/'">
    <!--    <script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>-->

</head>

<body data-type="index">
<script th:src="@{/js/theme.js}"></script>
<div class="am-g tpl-g">
    <!-- 头部 -->
    <header th:include="common/commons::header">

    </header>
    <!-- 风格切换 -->
    <div class="tpl-skiner" th:include="common/commons::skin" >
    </div>
    <!-- 侧边导航栏 -->
    <div class="left-sidebar" th:include="common/commons::nav">

    </div>


    <!-- 内容区域 -->
    <div id="content">
        <div th:include="content/mainPage::table">
    </div>

</div>
</div>
<script src="http://cdn.bootcss.com/amazeui/2.7.2/js/amazeui.min.js"></script>
<script th:src="@{/js/amazeui.datatables.min.js}"></script>
<script th:src="@{/js/dataTables.responsive.min.js}"></script>
<script th:src="@{/js/app.js}"></script>
<script th:src="@{/js/bootstrap.min.js}"></script>
<script th:src="@{/js/jquery.md5.js}"></script>
<!--<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>-->
<script>

    $(function () {
        indexData();
    })


    function switchPage(url){
        console.log("原跳转")
        $.ajax({
            url: url,
            type: 'get',
            dataType: 'html',
            success:function(response){
                $("#content").html(response)
                if(url == "mainPage"){
                    indexData();
                }
            },
            error:function(e){
                $("#content").html(e.responseText)
            }
        })
    }
    //
//保存我选中的
    //项目简介
    var inv=[];
    //贷后管理
    var aft=[];
    //用户评论
    var coms=[];
    //公司
    var ids =[] ;
    //风控
    var risk=[];
    //充值
    var charge=[];
    //用户贷款
    var rep=[];
    //贷款
    var bors=[];

    var choceid=[]
    var scorechoiceid=[]
</script>

</body>

</html>
